Vue.component('tabbar-search', {
  template: `
    <div>search page</div>
  `,

  mounted() {
    console.log('search mounted.')
  },

  activated() {
    console.log('activated')
  },
  
  deactivated() {
    console.log('deactivated')
  },

  destroyed() {
    console.log('search component has been destoryed.')
  },
})